package com.aaa.hospital.ManagementEnd.mapper;

import com.aaa.hospital.ManagementEnd.pojo.Receipts;
import com.aaa.hospital.ManagementEnd.pojo.ReceiptsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface ReceiptsMapper {
    List<Receipts> queryAll();
    int insert(Receipts receipts);
    List<Receipts> selectProfit();

    List<ReceiptsVo> select_rec(@Param("id") Integer id, @Param("ypname") String ypname);




}
